package com.freecloud.javabasics.design.adapter.passport;

import com.freecloud.javabasics.design.adapter.Member;
import com.freecloud.javabasics.design.adapter.ResultMsg;

/**
 * 原始老的稳定服务
 * @Author: maomao
 * @Date: 2019-11-18 10:38
 */
public class LoginService {


    public ResultMsg regist(String userName, String password){
        return new ResultMsg("200","注册成功",new Member());
    }

    public ResultMsg login(String userName,String password){
        return new ResultMsg("200","登录成功",new Member());
    }
}
